package com.sds.sweng.swat.miplatform.ui.design.figures;

import com.sds.sweng.swat.miplatform.ui.design.figures.geps.GepsButton;
import com.sds.sweng.swat.miplatform.ui.design.figures.logical.LButtonFigure;

public class ButtonFigureFactory {

	public static LButtonFigure create(int type, String text) {
		if (type != GepsButton.TYPE_MAIN && type != GepsButton.TYPE_SUB && type != GepsButton.TYPE_LINK)
			return null;

		return new GepsButton(type, text);
	}

}
